<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title></title>
		
	</head>
	<body>
		<div class="app" >
		   <div  v-text='num'></div>
		  <div>
			  <button v-on:click="num++">点击</button>
		  </div>
		</div>
		<script src="js/vue.js" type="text/javascript" charset="utf-8">
		</script><script type="text/javascript">
			var vm = new Vue({
				el:'.app',
				data:{
					num:1
				}
			})
		</script>
	</body>
</html>
